package com.example.smarthomeservers.controller;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zdl
 * date 2018/7/19 0019 20:27
 * email zdl328465042@163.com
 * description
 */
@RestController
@EnableAutoConfiguration
public class HelloWorldController {

    @RequestMapping("/hello")
    public String index(){
        return "hello world!!!";
    }
}
